package org.will.test.domain.builder;

import org.will.test.domain.PayOutMessage;

/**
 * Created by jsycwangwei on 2017/7/9.
 */
public class TextBuilder extends BaseBuilder<TextBuilder,PayOutMessage>{

    private String content;

    public TextBuilder content(String content){
        this.content = content;
        return this;
    }

    public PayOutMessage build() {
        PayTextOutMessage payTextOutMessage = new PayTextOutMessage();
        setCommon(payTextOutMessage);
        payTextOutMessage.setContent(content);
        return null;
    }
}
